package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsImages;
import com.quanyan.user.model.db.TbNewsImagesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsImagesMapper {
    int countByExample(TbNewsImagesExample example);

    int deleteByExample(TbNewsImagesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsImages record);

    int insertSelective(TbNewsImages record);

    List<TbNewsImages> selectByExample(TbNewsImagesExample example);

    TbNewsImages selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsImages record, @Param("example") TbNewsImagesExample example);

    int updateByExample(@Param("record") TbNewsImages record, @Param("example") TbNewsImagesExample example);

    int updateByPrimaryKeySelective(TbNewsImages record);

    int updateByPrimaryKey(TbNewsImages record);
}